<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>{$activity.name}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="msapplication-tap-highlight" content="no">
		<meta content="telephone=no" name="format-detection">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/Static/css/simui.mobile.css?1011112" />
		<script src="__PUBLIC__/Static/js/requirejs.js" charset="utf-8"></script>
		<script src="__PUBLIC__/Static/js/zepto.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__PUBLIC__/Static/js/simapp.js?3" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.sim-body{
			    top: 0;
			}
		</style>
	</head>

	<body>
		<!-- 导航菜单 -->
		<!--<div class="sim-header sim-bg sim-bg-royal inset">
			<span class="sim-float-right sim-refresh" data-role="refresh"><i class="sim-icon sim-icon-refresh"></i></span>
			<span>{$activity.name}</span>
			<span class="sim-float-left sim-back" data-role="back"><i class="sim-icon sim-icon-back"></i></span>
		</div>-->
		{__CONTENT__}
		<div class="sim-footer">
			<ul class="sim-equal">
				<li class="sim-bg sim-bg-danger"><a href="tel:{$activity.tel}"><i class="sim-icon sim-icon-phone"></i>联系我们</a>
				</li>
				<li class="sim-bg sim-bg-success"><a href="#register-page"><i class="sim-icon sim-icon-compose"></i>我要报名</a>
				</li>
				<li class="sim-bg sim-bg-warning"><a href="__MODULE__/DisShop/index/sid/{$activity.cid}"><i class="sim-icon sim-icon-home"></i>商城系统</a>
				</li>
			</ul>
		</div>
		
		<!-- 微信分享开始 -->
        <script type="text/javascript">
            var share = {$share},
                debug = false;
            require(['http://res.wx.qq.com/open/js/jweixin-1.0.0.js'], function(wx) {
                wx.config({
                    debug: debug,
                    appId: '{$wxConfig.appId}',
                    timestamp: "{$wxConfig.timestamp}",
                    nonceStr: '{$wxConfig.nonceStr}',
                    signature: '{$wxConfig.signature}',
                    jsApiList: [
                        'checkJsApi',
                        'onMenuShareTimeline',
                        'onMenuShareAppMessage',
                        'onMenuShareQQ',
                        'onMenuShareWeibo',
                        'hideMenuItems',
                        'showMenuItems',
                        'hideAllNonBaseMenuItem',
                        'showAllNonBaseMenuItem',
                        'translateVoice',
                        'startRecord',
                        'stopRecord',
                        'onRecordEnd',
                        'playVoice',
                        'pauseVoice',
                        'stopVoice',
                        'uploadVoice',
                        'downloadVoice',
                        'chooseImage',
                        'previewImage',
                        'uploadImage',
                        'downloadImage',
                        'getNetworkType',
                        'openLocation',
                        'getLocation',
                        'hideOptionMenu',
                        'showOptionMenu',
                        'closeWindow',
                        'scanQRCode',
                        'chooseWXPay',
                        'openProductSpecificView',
                        'addCard',
                        'chooseCard',
                        'openCard'
                    ]
                });
                wx.ready(function() {
                    wx.onMenuShareAppMessage({
                        link: share.link,
                        title: share.title,
                        desc: share.desc,
                        imgUrl: share.imgUrl
                    })
                    wx.onMenuShareTimeline({
                        link: share.link,
                        title: share.desc,
                        imgUrl: share.imgUrl
                    })
                });
            })
        </script>
        <!-- 微信分享结束 -->
	</body>

</html>
